

<div class="layui-form" lay-filter="layuiadmin-form-yearsadmin" style="padding: 20px 0 0 0;">
  <div class="layui-form-item" style="display: none">
    <label class="layui-form-label">ID</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="yearsId" value="{{ d.params.yearsId || '' }}" lay-verify="required" placeholder="请输入年份" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">年份</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="yearsname" value="{{ d.params.yearsname || '' }}" lay-verify="required" placeholder="请输入年份" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item" lay-filter="yearsflag">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="radio" name="yearsflag" value="0" title="启用" {{ d.params.yearsflag === '启用' ? 'checked' : '' }}>
        <input type="radio" name="yearsflag" value="1" title="禁用" {{ d.params.yearsflag === '禁用' ? 'checked' : '' }}>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-years-front-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

